using the quadratic formula to find solutions